local unitDefs = {

C_METALRECYCLER = {
  name                = "Metal Recycler",
  description         = "Produces Metal",
  
  objectName          = "armmstor",  --"c_metalrecycler.s3o",
  script              = "armmstor.cob",  --"c_metalrecycler.lua",  
  buildPic            = "armmstor.png",  --"c_metalrecycler.png",
  iconType            = "building",  
  category            = [[LAND BUILDING NOWEAPON]],  --LEVEL1 ALL NOTLAND NOTSUB NOWEAPON NOTSHIP NOTAIR"
  --TEDClass            = "PLANT", 
  
  -- Cost
  buildCostMetal      = 500,  
  buildCostEnergy     = 0,
  buildTime           = 5000,

  -- Resources
  metalMake           = 1,
  metalStorage        = 500,
	
  -- Damage
  maxDamage           = 2000,
  idleAutoHeal        = 5,
  idleTime            = 900,
  
  -- Collision Volume
  collisionVolumeType    = "CylY", 
  collisionVolumeTest    = 1,  
  collisionVolumeOffsets = [[0 0 0]],
  collisionVolumeScales  = [[58 31 64]],
  --modelCenterOffset      = [[0 0 0]],

  -- Movement and Pathfinding
  footprintX          = 4,
  footprintZ          = 4,
  yardMap             = [[oooooooooooooooo]],  
  maxVelocity         = 0,
  maxSlope            = 15,
  maxWaterDepth       = 0,
 
  -- Ground Decal
  useBuildingGroundDecal = false, 

  -- Abilities
 
  -- Detection  
  sightDistance       = 450,
  seismicSignature    = 0,  

  -- Weapons
  explodeAs           = "UNIT_EXPLOSION_MEDIUM1",  
  selfDestructAs      = "UNIT_SELFD_MEDIUM1", 

  sfxtypes = {},  

  customParams = {
    wreckModels = { "armmstor_dead.3do", "armmstor_dead.3do" },  --"c_metalrecycler_dead.3do", "c_metalrecycler_dead.3do"
    heapModels = { "3x3d.3do" },

	  soundCategory = "BUILDING1",
  
	  armorThickness = 30,
	
	  lightDamageChance = 0.2,	
	  mediumDamageChance = 0.6,
	  heavyDamageChance = 0.2,
  },
},
}

return lowerkeys(unitDefs)